package com.nongye.system.domain;

import com.nongye.common.annotation.Excel;
import com.nongye.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 农作物数据对象 crops_data
 * 
 * @author nongye
 * @date 2023-10-10
 */
public class CropsData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 农场编号iD */
    @Excel(name = "农场编号iD")
    private String nongchangId;

    /** 蔬菜名称 */
    @Excel(name = "蔬菜名称")
    private String name;

    /** 面积 */
    @Excel(name = "面积")
    private String mianJi;

    /** 年份 */
    @Excel(name = "年份")
    private String year;

    /** 产量 */
    @Excel(name = "产量")
    private String chanLiang;

    /** 农作物字典 */
    @Excel(name = "农作物字典")
    private Long dictId;

    /** 土壤类型 */
    @Excel(name = "土壤类型")
    private String turangType;

    /** 土壤质地 */
    @Excel(name = "土壤质地")
    private String turangZhidi;

    /** 农药类型 */
    @Excel(name = "农药类型")
    private String nongyaoType;

    /** 使用量 */
    @Excel(name = "使用量")
    private String nongyaoValue;

    /** 产量 */
    @Excel(name = "产量")
    private String chanliang;

    /** 价格 */
    @Excel(name = "价格")
    private String price;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNongchangId(String nongchangId) 
    {
        this.nongchangId = nongchangId;
    }

    public String getNongchangId() 
    {
        return nongchangId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMianJi(String mianJi) 
    {
        this.mianJi = mianJi;
    }

    public String getMianJi() 
    {
        return mianJi;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setChanLiang(String chanLiang) 
    {
        this.chanLiang = chanLiang;
    }

    public String getChanLiang() 
    {
        return chanLiang;
    }
    public void setDictId(Long dictId) 
    {
        this.dictId = dictId;
    }

    public Long getDictId() 
    {
        return dictId;
    }
    public void setTurangType(String turangType) 
    {
        this.turangType = turangType;
    }

    public String getTurangType() 
    {
        return turangType;
    }
    public void setTurangZhidi(String turangZhidi) 
    {
        this.turangZhidi = turangZhidi;
    }

    public String getTurangZhidi() 
    {
        return turangZhidi;
    }
    public void setNongyaoType(String nongyaoType) 
    {
        this.nongyaoType = nongyaoType;
    }

    public String getNongyaoType() 
    {
        return nongyaoType;
    }
    public void setNongyaoValue(String nongyaoValue) 
    {
        this.nongyaoValue = nongyaoValue;
    }

    public String getNongyaoValue() 
    {
        return nongyaoValue;
    }
    public void setChanliang(String chanliang) 
    {
        this.chanliang = chanliang;
    }

    public String getChanliang() 
    {
        return chanliang;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nongchangId", getNongchangId())
            .append("name", getName())
            .append("mianJi", getMianJi())
            .append("year", getYear())
            .append("chanLiang", getChanLiang())
            .append("dictId", getDictId())
            .append("turangType", getTurangType())
            .append("turangZhidi", getTurangZhidi())
            .append("createTime", getCreateTime())
            .append("nongyaoType", getNongyaoType())
            .append("nongyaoValue", getNongyaoValue())
            .append("chanliang", getChanliang())
            .append("price", getPrice())
            .toString();
    }
}
